<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" >
    <meta charset="UTF-8">
    <title>系统登录 - 血库管理系统</title>
    <link rel="stylesheet" th:href="@{/css/style.css}" href="../css/style.css"/>
</head>
<body class="login_bg">
    <section class="loginBox">
        <header class="loginHeader">
            <h1>血库管理系统</h1>
        </header>
        <section class="loginCont">
			<div th:if="${not #strings.isEmpty(msg)}" th:text="${msg}" style="color:red; margin-left: 130px">用户名或密码错误！</div>
            <form class="loginForm" th:action="@{/bloodManager/login}" th:method="post" action="../main/index.html">
                <div class="inputbox">
                    <label for="user" th:text="#{login.username}" >Username</label>
                    <input id="user" type="text" name="bm_id"  required/>
                </div>
                <div class="inputbox">
                    <label for="mima" th:text="#{login.password}">Password</label>
                    <input id="mima" type="password" name="bm_password"  required/>
                </div>
				<br/>
                <div class="subBtn">
                    <input type="submit" th:value="#{login.submit}"  value="Sign" />
                    <input type="reset" th:value="#{login.reset}"  value="Reset"/>
                </div>
				<br/>
            </form>
        </section>
    </section>
</body>
</html>